TenWebOptimizer\OptimizerMain D

Total Complexity 232
Dependencies 13
Dependents 2
Total lines 998
Lines of code 770
Logical lines of code 436
Comment lines 93
Methods 21
Properties 48

Methods 21

Method Rating Maintainability Complexity Lines of code
init()
D
15
74 223
end_buffering()
D
23
40 174
add_lazyload_js_footer()
C
36 24 80
should_serve_optimized_page()
A
48 16 31
set_modes()
A
51 13 24
add_delayed_javascript_execution_script_header()
A
40 6 85
reinit_lazy_load_options()
A
56 10 18
two_headers()
A
51 9 24
check_cache_dir()
S
56 7 18
dirsize()
S
56 7 18
dequeue_jquery_migrate()
S
65 5 8
detect_elementor_video_widget()
S
64 5 9
check_and_create_dirs()
S
62 4 11
get_instance()
S
72 2 6
add_optimization_status_headers()
S
71 2 6
two_meta()
S
66 2 8
clear_cache()
S
67 2 7
__construct()
S
62 1 10
two_deregister_styles()
S
81 1 3
two_enqueue_styles()
S
78 1 3
get_two_worker_data_script_tag()
S
74 1 4